package com.sta.staff.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sta.staff.pojo.Salary;
import com.sta.staff.pojo.Users;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SalaryMapper extends BaseMapper<Salary> {
    List<Salary> findAllSalary();
    List<Salary> findLikeSalary(String search);
    void addUsersSalary(@Param("uid") Integer uid, @Param("sid") Integer sid);
    void deleteUsersSalary(@Param("sid") Integer sid);

}
